Check default features when skipping resolution of a package
authorAlex Crichton <alex@alexcrichton.com>
Tue, 5 May 2015 05:55:03 +0000 (22:55 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 5 May 2015 06:17:17 +0000 (23:17 -0700)
commit40d1c10a839bc628986baf4ac6d7dcd7c56a59f5
tree449daf62bf88be0f4431c5fa2d6c10f06d76a8dc
parent7f810ba5efcff7b38ccf52c10e099359de5b7d2a
Check default features when skipping resolution of a package

Previously if a package had been activated without the default feature and then
it was attempted to be reactivated with the default feature, resolution wouldn't
continue and actually activate the default feature. This means that the
fingerprint on the other end of compilation would be slightly different because
the set of activated features would be slightly different, causing spurious
recompiles.

Closes #1567
src/cargo/core/resolver/mod.rs
src/cargo/ops/cargo_rustc/fingerprint.rs
tests/test_cargo_features.rs